import Layout from '@/layout'

const copRouter = [{
  path: '/cop',
  component: Layout,
  redirect: '/cop/copSurvey',
  alwaysShow: true,
  name: 'cop',
  meta: {
    title: '私域管理',
    icon: 'lock'
  },
  children: [
    {
      path: 'copSurvey',
      component: () => import('@/views/cop/copSurvey'),
      name: 'copSurvey',
      meta: {
        title: '私域概况 - '
      }
    },
    {
      path: 'contactList',
      component: () => import('@/views/cop/contactList'),
      name: 'contactList',
      meta: {
        title: '通讯录 - '
      }
    },
    {
      path: 'sideToolBar',
      component: () => import('@/views/cop/sideToolBar'),
      name: 'sideToolBar',
      meta: {
        title: '侧边工具栏设置 - '
      }
    },
    {
      path: 'friendsBindSetting',
      component: () => import('@/views/cop/friendsBindSetting'),
      name: 'friendsBindSetting',
      meta: {
        title: '客户绑定设置 - '
      }
    },
    {
      path: 'friendsManagement',
      component: () => import('@/views/cop/friendsManagement'),
      name: 'friendsManagement',
      meta: {
        title: '客户列表 - '
      }
    },
    {
      path: 'inactiveFriends',
      component: () => import('@/views/cop/inactiveFriends'),
      name: 'inactiveFriends',
      meta: {
        title: '僵死客户 - '
      }
    },
    {
      path: 'friendsTags',
      component: () => import('@/views/cop/friendsTags'),
      name: 'friendsTags',
      meta: {
        title: '客户标签 - '
      }
    },
    {
      path: 'onJobAssignFriends',
      component: () => import('@/views/cop/onJobAssignFriends'),
      name: 'onJobAssignFriends',
      meta: {
        title: '在职分配 - '
      }
    },
    {
      path: 'offJobTransfer',
      component: () => import('@/views/cop/offJobTransfer'),
      name: 'offJobTransfer',
      meta: {
        title: '离职继承 - '
      }
    },
    {
      path: 'friendsLifeCycle',
      component: () => import('@/views/cop/friendsLifeCycle'),
      name: 'friendsLifeCycle',
      meta: {
        title: '客户跟进 - '
      }
    },
    {
      path: 'groupManagement',
      component: () => import('@/views/cop/groupManagement'),
      name: 'groupManagement',
      meta: {
        title: '客户群管理 - '
      }
    },
    {
      path: 'groupTags',
      component: () => import('@/views/cop/groupTags'),
      name: 'groupTags',
      meta: {
        title: '群标签管理 - '
      }
    },
    {
      path: 'groupWelcome',
      component: () => import('@/views/cop/groupWelcome'),
      name: 'groupWelcome',
      meta: {
        title: '入群欢迎语 - '
      }
    },
    {
      path: 'groupLiveQrCode',
      component: () => import('@/views/cop/groupLiveQrCode'),
      name: 'groupLiveQrCode',
      meta: {
        title: '群活码管理 - '
      }
    },
    {
      path: 'fansWelcome',
      component: () => import('@/views/cop/fansWelcome'),
      name: 'fansWelcome',
      meta: {
        title: '欢迎语管理 - '
      }
    },
    {
      path: 'fansChannel',
      component: () => import('@/views/cop/fansChannel'),
      name: 'fansChannel',
      meta: {
        title: '渠道管理 - '
      }
    },
    {
      path: 'channelQrCode',
      component: () => import('@/views/cop/channelQrCode'),
      name: 'channelQrCode',
      meta: {
        title: '渠道活码管理 - '
      }
    },
    {
      path: 'msgMassMessage',
      component: () => import('@/views/cop/msgMassMessage'),
      name: 'msgMassMessage',
      meta: {
        title: '客户群发 - '
      }
    },
    {
      path: 'msgGroupMassMessage',
      component: () => import('@/views/cop/msgGroupMassMessage'),
      name: 'msgGroupMassMessage',
      meta: {
        title: '客户群群发 - '
      }
    },
    {
      path: 'msgMassMessageSop',
      component: () => import('@/views/cop/msgMassMessageSop'),
      name: 'msgMassMessageSop',
      meta: {
        title: '群发SOP - '
      }
    },
    {
      path: 'msgFansMoment',
      component: () => import('@/views/cop/msgFansMoment'),
      name: 'msgFansMoment',
      meta: {
        title: '发朋友圈 - '
      }
    },
    {
      path: 'msgFansMomentSop',
      component: () => import('@/views/cop/msgFansMomentSop'),
      name: 'msgFansMomentSop',
      meta: {
        title: '朋友圈SOP - '
      }
    },
    {
      path: 'msgFansMomentHistory',
      component: () => import('@/views/cop/msgFansMomentHistory'),
      name: 'msgFansMomentHistory',
      meta: {
        title: '朋友圈记录 - '
      }
    },
    {
      path: 'msgKnowledge',
      component: () => import('@/views/cop/msgKnowledge'),
      name: 'msgKnowledge',
      meta: {
        title: '快捷用语 - '
      }
    },
    {
      path: 'wxCpSource',
      component: () => import('@/views/cop/wxCpSource'),
      name: 'wxCpSource',
      meta: {
        title: '素材管理 - '
      }
    },
    {
      path: 'kfFriends',
      component: () => import('@/views/cop/kfFriends'),
      name: 'kfFriends',
      meta: {
        title: '接待客户 - '
      }
    },
    {
      path: 'kfServicer',
      component: () => import('@/views/cop/kfServicer'),
      name: 'kfServicer',
      meta: {
        title: '接待人员管理 - '
      }
    },
    {
      path: 'kfAutoReply',
      component: () => import('@/views/cop/kfAutoReply'),
      name: 'kfAutoReply',
      meta: {
        title: '自动回复管理 - '
      }
    },
    {
      path: 'kfAccount',
      component: () => import('@/views/cop/kfAccount'),
      name: 'kfAccount',
      meta: {
        title: '客服账号管理 - '
      }
    },
    {
      path: 'dataSaveSetting',
      component: () => import('@/views/cop/dataSaveSetting'),
      name: 'dataSaveSetting',
      meta: {
        title: '会话存档设置 - '
      }
    },
    {
      path: 'sensitiveWord',
      component: () => import('@/views/cop/sensitiveWord'),
      name: 'sensitiveWord',
      meta: {
        title: '敏感词设置 - '
      }
    },
    {
      path: 'employeeTalking',
      component: () => import('@/views/cop/employeeTalking'),
      name: 'employeeTalking',
      meta: {
        title: '员工聊天记录 - '
      }
    },
    {
      path: 'friendsTalking',
      component: () => import('@/views/cop/friendsTalking'),
      name: 'friendsTalking',
      meta: {
        title: '客户聊天管理 - '
      }
    }
  ]
}]
export default copRouter
